package cn.sym.user.mapper;

import cn.sym.user.domain.Wxuser;
import cn.sym.basic.mapper.BaseMapper;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author sym
 * @since 2022-02-18
 */
public interface WxuserMapper extends BaseMapper<Wxuser> {

    /**
     * 根据openid查询数据库看是否此用户已经扫码过
     * @param openid
     * @return
     */
    Wxuser loadByOpenId(String openid);

    Wxuser loadByUserId(Long id);
}
